﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
using TestModel.SysManage;

namespace TestDBData.Mapping.SysManage
{
    public partial class sys_RoleNameMap : NopEntityTypeConfiguration<sys_RoleName>
    {
        public override void Configure(EntityTypeBuilder<sys_RoleName> builder)
        {
            builder.ToTable(nameof(sys_RoleName));
            builder.HasKey(sysUser => sysUser.gid);
            builder.Property(logItem => logItem.roleName).HasMaxLength(30).IsRequired();
          

            // builder.Ignore(logItem => logItem.LogLevel);

            base.Configure(builder);
        }
    }
}
